﻿<%@ Page Title="Zakup ubezpieczenie" Language="C#" MasterPageFile="~/Sites/Insurances/InsurancesMaster.master" AutoEventWireup="true" CodeBehind="NewInsurance.aspx.cs" Inherits="BankSite.Sites.Insurances.NewInsurance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="FeaturedContent" runat="server">
 
     <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
                <h2>Wykup ubezpieczeń online.</h2>
            </hgroup>

        </div>
    </section>
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
       <asp:FormView DefaultMode="Insert" ID="NewDepositFV" runat="server"  CellPadding="4" ForeColor="#333333">
        <InsertItemTemplate>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <div class="insertFormDiv">
                        <table>
                            <tr>
                                <td class="labelCell">Rodzaj ubezpieczenia:</td>
                                <td>
                                    <asp:DropDownList AutoPostBack="true" CssClass="insertDropdown"  ID="InsuranceType" runat="server"  DataTextField="Typ karty" DataValueField="id"></asp:DropDownList>
                                </td>
                            </tr>
                           
                            <tr><%-- Powinna być ustawiana na bieżącą --%>
                                <td class="labelCell">
                                    Data założenia:
                                </td>
                                        

                                <td>
                                     <asp:Calendar CssClass="insertTextBox disabledTextBox" Enabled="false" 
                                        runat="server" ID="data_zalozeniaTextBox" />
                                </td>
                            </tr>
                            <tr>
                                <td class="labelCell">
                                    Data zakończenia:
                                </td>
                                <td>
                                    <asp:Calendar CssClass="insertTextBox disabledTextBox" Enabled="false" 
                                        runat="server" ID="data_zakonczeniaTextBox" />
                                </td>
                            </tr>
                        <tr>
                                <td class="labelCell">
                                    Kwota ubezpieczenia:
                                </td>
                                <td>
                                    <asp:TextBox CssClass="insertTextBox disabledTextBox" Enabled="false" 
                                        runat="server" ID="TextBox_TotalInsurance" />
                                </td>
                            </tr>
                           <tr>
                                <td class="labelCell">
                                    Składka:
                                </td>
                                <td>
                                    <asp:TextBox CssClass="insertTextBox disabledTextBox" Enabled="false" 
                                        runat="server" ID="TextBox_PartInsurance" />
                                </td>
                            </tr>
                       
                        </table>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
         
        </InsertItemTemplate>
        
        <EditRowStyle BackColor="#7C6F57"></EditRowStyle>

        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White"></FooterStyle>

        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White"></HeaderStyle>

        <PagerStyle HorizontalAlign="Center" BackColor="#666666" ForeColor="White"></PagerStyle>

        <RowStyle BackColor="#E3EAEB"></RowStyle>
    </asp:FormView>
  
</asp:Content>

